package com.pcjavanet.collect.mes.to;

import java.io.Serializable;
import java.util.Date;

public class ContinuousData  implements Serializable {
	/** serialVersionUID. */
	private static final long serialVersionUID = 1L;
	/**  dataKey .*/
	private int dataKey=0;
	/** monitorId. */
	private int monitorId=1;
	/** paramName.*/
	private String paramName;
	/** paramValue. */
	private double paramValue=0.0;
	/** lastGroupDate.*/
	private String lastGroupDate="1970-01-01 00:00:00";
	/** chartType.*/
	private String chartType;
	/** memo.*/
    private String memo="";
    /** sendEmailDate. */
    private String sendEmailDate="1970-01-01 00:00:00";   
    
    private Date createDate;
    
    private String createDateStr;
    
    private int dataStatus;
    
    private String  groupingType;
    
    private String inputUser;
    
    private String note;
    
    private String lotNumber;
    
    private String attribute;
    
    private String attributeValues;
    
    private boolean isLastData;
    
    private long createTime;
    
    private String createTimeStr ; 
    
    public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public boolean isLastData() {
		return isLastData;
	}

	public void setLastData(boolean isLastData) {
		this.isLastData = isLastData;
	}

	public String getAttributeValues() {
		return attributeValues;
	}

	public void setAttributeValues(String attributeValues) {
		this.attributeValues = attributeValues;
	}

	/** 0 = new group 1 = calculated group  */
    private int groupStatus;
  //send email times e.g 0,1,2,3,4,5
	private int sendEmailTimes;
    public static String ABNORMAL_POINT_AND_NO_OCAP = "ABNORMAL_POINT_AND_NO_OCAP";
    
    

	/**
     * getChartType.
     * @return String -String
     */
	public String getChartType() {
		return chartType;
	}
	
	/**
	 * setChartType.
	 * @param chartType -String
	 */
	public void setChartType(String chartType) {
		this.chartType = chartType;
	}
	
	/**
	 * getLastDate.
	 * @return String -String
	 */
	public String getLastGroupDate() {
		return lastGroupDate;
	}
	
	/**
	 * lastGroupDate.
	 * @param lastGroupDate -String
	 */
	public void setLastGroupDate(String lastGroupDate) {
		this.lastGroupDate = lastGroupDate;
	}
	
	/**
	 * getMemo.
	 * @return -String
	 */
	public String getMemo() {
		return memo;
	}
	
	/**
	 * setMemo.
	 * @param memo -String
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}
	

	public int getDataKey() {
		return dataKey;
	}

	public void setDataKey(int dataKey) {
		this.dataKey = dataKey;
	}

	public int getMonitorId() {
		return monitorId;
	}

	public void setMonitorId(int monitorId) {
		this.monitorId = monitorId;
	}

	/**
	 * getParamName.
	 * @return String -String
	 */
	public String getParamName() {
		return paramName;
	}
	
	/**
	 * set ParamName.
	 * @param paramName -String
	 */
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}
	
	/**
	 * getParamValue.
	 * @return double -double
	 */
	public double getParamValue() {
		return paramValue;
	}
	
	/**
	 * set ParamValue.
	 * @param paramValue -String
	 */
	public void setParamValue(double paramValue) {
		this.paramValue = paramValue;
	}
	
	/**
	 * getSendEmailDate.
	 * @return String -String
	 */
	public String getSendEmailDate() {
		return sendEmailDate;
	}

	/**
	 * setSendEmailDate.
	 * @param sendEmailDate -String
	 */
	public void setSendEmailDate(String sendEmailDate) {
		this.sendEmailDate = sendEmailDate;
	}

	public int getGroupStatus() {
		return groupStatus;
	}

	public void setGroupStatus(int groupStatus) {
		this.groupStatus = groupStatus;
	}


	public int getSendEmailTimes() {
		return sendEmailTimes;
	}

	public void setSendEmailTimes(int sendEmailTimes) {
		this.sendEmailTimes = sendEmailTimes;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public int getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(int dataStatus) {
		this.dataStatus = dataStatus;
	}

	public String getGroupingType() {
		return groupingType;
	}

	public void setGroupingType(String groupingType) {
		this.groupingType = groupingType;
	}

	public String getInputUser() {
		return inputUser;
	}

	public void setInputUser(String inputUser) {
		this.inputUser = inputUser;
	}
	

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getLotNumber() {
		return lotNumber;
	}

	public void setLotNumber(String lotNumber) {
		this.lotNumber = lotNumber;
	}

	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	public String getCreateDateStr() {
		return createDateStr;
	}

	public void setCreateDateStr(String createDateStr) {
		this.createDateStr = createDateStr;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ContinuousData [dataKey=");
		builder.append(dataKey);
		builder.append(", monitorId=");
		builder.append(monitorId);
		builder.append(", paramName=");
		builder.append(paramName);
		builder.append(", paramValue=");
		builder.append(paramValue);
		builder.append(", lastGroupDate=");
		builder.append(lastGroupDate);
		builder.append(", chartType=");
		builder.append(chartType);
		builder.append(", memo=");
		builder.append(memo);
		builder.append(", sendEmailDate=");
		builder.append(sendEmailDate);
		builder.append(", createDate=");
		builder.append(createDate);
		builder.append(", createDateStr=");
		builder.append(createDateStr);
		builder.append(", dataStatus=");
		builder.append(dataStatus);
		builder.append(", groupingType=");
		builder.append(groupingType);
		builder.append(", inputUser=");
		builder.append(inputUser);
		builder.append(", note=");
		builder.append(note);
		builder.append(", lotNumber=");
		builder.append(lotNumber);
		builder.append(", attribute=");
		builder.append(attribute);
		builder.append(", attributeValues=");
		builder.append(attributeValues);
		builder.append(", isLastData=");
		builder.append(isLastData);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", createTimeStr=");
		builder.append(createTimeStr);
		builder.append(", groupStatus=");
		builder.append(groupStatus);
		builder.append(", sendEmailTimes=");
		builder.append(sendEmailTimes);
		builder.append("]");
		return builder.toString();
	}
 
	
}
